
******************************************************************************
***************** Figure 5: Prevalence of Industry Exemptions  ****************
******************************************************************************

use CCL_Law_Data_Ver1.dta,clear


preserve
keep if year >1949
keep if year <2011
drop if regional_group==1
drop if competition_law_coded_ever==0
drop if competition_law_in_place==0

egen EFF = mean(exempt_industry), by(year)
tab exempt_industry if year ==1950
tab exempt_industry if year ==1990
tab exempt_industry if year ==2010

egen tag = tag(year)
twoway line EFF year if tag, sort saving(EU_converge) graphregion(color(white)) bgcolor(white) xtitle("Year") ytitle("Proportion")  lpattern(1 _ shortdash_dot longdash) xla(1950(10)2010) yla(0(.1)1.05)
